package com.wanxi.news.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanxi.common.entity.NewsModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper extends BaseMapper<NewsModel> {
    List<NewsModel> findAll(NewsModel newsModel);
    int count(NewsModel newsModel);
}
